← Back to issue list

Don't prompt to report Sentry errors unless stdin is a tty

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1792182
Type
issue
State
open
Author
~kyrofa
Labels
18.10-sentry
Created
2018-09-12 16:19:06.384853+00:00
Updated
2018-09-12 16:19:39.823216+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

IIf stdin isn't a TTY, it makes no sense to prompt the user if they want to report an error. Click does the right thing and turns the lack of a tty into a No, but it's not very pretty. Simply report it if SNAPCRAFT_ENABLE_SILENT_REPORT is truthy, and if not, suggest they log a bug.

Evaluation history

No evaluation history available.